package com.elasticsearchtemplate.service;

import com.elasticsearchtemplate.entity.Emp;

import java.util.List;

public interface EmpElasticTemplateService {
    void createIndexAndMapping();

    void insertDocument(Emp emp);

    List<Emp> findAllByName(String name);
}
